feat(blog): refine background and card styling#80
Merged
Timeless0911 merged 1 commit intomainfrom Apr 22, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Refines the blog page visual layering by adjusting background/frame opacity, strengthening blog list card styling, and stabilizing the transparent navbar border behavior.
Changes:
- Tweaked blog list card background opacity and border colors for better readability in light/dark modes.
- Reduced the blog frame overlay opacity and updated the
MeteorsBackgroundintegration after moving it undersrc/blog-background. - Kept the transparent navbar state layout stable by using a transparent bottom border instead of removing the border.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/blog-list/index.module.scss | Adjusts card background/border CSS variables to improve contrast and clarity. |
| src/blog-background/index.tsx | Updates MeteorsBackground import to the new colocated module. |
| src/blog-background/index.module.scss | Lowers the blog frame opacity to reduce visual dominance. |
| src/blog-background/MeteorsBackground.tsx | Adds blur/opacity styling to the animated canvas background. |
| src/background-image/index.tsx | Stabilizes navbar layout by keeping a transparent bottom border in the “transparent” state. |
Comments suppressed due to low confidence (1)
src/blog-background/MeteorsBackground.tsx:296
- Applying a CSS
filter: blur(...)to an actively animated<canvas>forces the browser to re-rasterize/blur every frame, which can noticeably increase GPU/CPU usage (especially on high-DPI displays). Consider removing the CSS blur, or implementing the softening effect in the canvas draw step (e.g., via context settings or pre-rendered layers), or making it conditional (reduced motion / low-power mode).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Timeless0911
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MeteorsBackgroundfromsrc/blog-listintosrc/blog-backgroundand update the local importbackground-imageVerification
git commitnpx prettier --check src/blog-list/index.module.scssnpx prettier --check src/blog-list/BorderBeam.tsx src/blog-list/BorderBeam.module.scssnpm run preflight(not available in this repository: missing scriptpreflight)